package com.irdstudio.efp.report.service.facade;

import com.irdstudio.efp.report.service.vo.ZxbsLmtPrdContVO;

import java.util.List;

/**
 * Service Interface: 授信协议表
 *
 * @author gcb
 * @date 2020-07-28
 */
public interface ZxbsLmtPrdContService {
    /**
     * 新增数据
     *
     * @param zxbsLmtPrdContVO
     * @return
     */
    int insert(ZxbsLmtPrdContVO zxbsLmtPrdContVO);

    /**
     * 根据主键删除信息
     *
     * @param zxbsLmtPrdContVO
     * @return
     */
    int deleteByPk(ZxbsLmtPrdContVO zxbsLmtPrdContVO);

    /**
     * 根据主键更新信息
     *
     * @param zxbsLmtPrdContVO
     * @return
     */
    int updateByPk(ZxbsLmtPrdContVO zxbsLmtPrdContVO);

    /**
     * 根据主键查询详情
     *
     * @param zxbsLmtPrdContVO
     * @return
     */
    ZxbsLmtPrdContVO queryByPk(ZxbsLmtPrdContVO zxbsLmtPrdContVO);

    int insertOrUpdate(List<ZxbsLmtPrdContVO> list) throws Exception;

    List<ZxbsLmtPrdContVO> queryByLmtApplySeq(ZxbsLmtPrdContVO zxbsLmtPrdContVO) throws Exception;
}